	<!-- top -->
	<div class="top-box">
    	<div class="top gray7">
        	<ul class="top-left">
        		<if condition="isset($_SESSION['HS_USER_ID'])">
            	<li class="left gray9">您好，欢迎来到佳好友:</li>
                <li>
                	<a href="__ROOT__/Order" class="red"><{:getHidePhone($_SESSION['HS_USER_TEL'])}></a><span class="gray9">|</span> <a href="__ROOT__/Login/logout">退出</a>
                <else/>
                <li>
	                hi,请<a href="__ROOT__/Login" class="red">登录</a> &nbsp; <a href="__ROOT__/Login/register">免费注册</a>
                </if>
                </li>
            </ul>
            <!-- 未登录状态 -->
            <ul class="top-right">
            	<li><a href="javascript:void(0)" class="top-phone-icon"><i></i>手机下单<span style="display:none;"><img src="__IIMG__/qr_code.png"/></span></a></li>
                <li>咨询电话：<font class="red"><{:getSiteInfo("app_custom_tel")}></font></li>        
            </ul>
        </div>
    </div>
    <div class="top-line-e3"></div> 
    <div class="top-line-f5"></div> 
    <div class="clr"></div>
    <div class="header-wrap">
        <div class="header">
            <div class="logo"><a href="__ROOT__"></a></div>
            <div class="header-search-box">
            	<form action="__ROOT__/Product/index" method="post">
                <div class="header-search">
                    <input type="text" class="header-search-input" placeholder="输入您需要的商品" name="name"/>
                    <input type="submit" class="header-search-btn" value="搜 索"/>
                </div>
                </form>
                <div class="clr"></div>
                <div class="search-hot">
                    <span>热门搜索：</span>
                    <foreach item="kw" name="keyword">
                    	<a href="__ROOT__/Product/index?name=<{$kw.keyword}>"><{$kw.keyword}></a> 
                    	<if condition="count($keyword) neq ($key+1)">|</if>
                    </foreach>
                </div>
            </div>
            <div class="header-tp-icon gray6">
                <ul>
                    <li>
                        <b class="tp-icon1"></b>
                        <p>校园直达</p>
                    </li>
                    <li>
                        <b class="tp-icon2"></b>
                        <p>品质保证</p>
                    </li>
                    <li>
                        <b class="tp-icon3"></b>
                        <p>天天特价</p>
                    </li>
                </ul>
            </div>
            <div class="clr"></div>
        </div>
        <div class="clr"></div>
        <div class="nav-wrap" id="nav-wrap">
            <div class="nav">
                <div class="nav-classify msyh">
                    <div class="nav-main-title">
                        <h6>所有分类</h6>
                    </div>
                    <ul style="display: none;">
                    	<foreach item="typeList" name="typeList.typeList">
                        <li>
                            <div class="nav-classify-menu">
                                <b class=""><img src="__IMGROOT__/<{$typeList.icon}>" width="18"/></b>
                                <h5><a href="__ROOT__/Product/index?typeId=<{$typeList.id}>"><{$typeList.typeName}></a></h5>
                                <p>
                                	<foreach item="st" name="typeList.subTypeList">
                                    	<a href="__ROOT__/Product/index?typeId=<{$typeList.id}>&subTypeCode=<{$st.subTypeCode}>"><{$st.subTypeName}></a>
                                    </foreach>
                                </p>
                            </div>
                        </li>
                        </foreach>
                        <li class="get-all-classify">
                        	<a href="__ROOT__/Product">查看所有分类 ></a>
                        </li>
                    </ul>
                </div>
                <div class="nav-menu">
                    <ul class="msyh">
                        <li><a href="__ROOT__">首页</a></li>
                        <li><a href="__ROOT__/Product/meeting_place?type=3">特价疯抢</a></li>
                        <li><a href="__ROOT__/Product">所有分类</a></li>
                    </ul>
                </div>
                <div class="nav-shopping-cart">
                	<form action="__ROOT__/Order/goCreateOrder" method="post" id="order_pay">
                		<div class="lunch-title nav-shopping-cart-title">
                			<i class="shop-icon-car"><em class="total-num">0</em></i><strong>购物车</strong><span>￥<font class="count-total-price">0</font><b></b></span>
				    	</div>
				    	<div class="nav-shopping-cart-content" style="display:none;">
	                        <div id="lunch-list-box">
					            
				            </div>
				            <div class="no-param-box"><i></i>您的购物车是空的</div>
				            <div class="settlement-box">
					            <div class="cart-content-total-box msyh">总计：<span class="red">￥<font class="count-total-price">0</font></span></div>
		                        <div class="clr"></div>
		                        <div class="cart-content-bottom-box">
		                        	<input type="submit"  class="settlement-off" id="settlement" value="立即结算"/>
		                        </div>
	                        </div>
	                    </div>
                	</form>
                </div>
            </div>
    	</div>
    </div>
